package pl.javarsovia.javarsovia4android.menu.commands;

import android.app.Activity;
import android.content.Intent;
import pl.javarsovia.R;
import pl.javarsovia.javarsovia4android.activities.SessionsActivity;
import pl.javarsovia.javarsovia4android.menu.ButtonCommand;

public class SessionsButtonCommand implements ButtonCommand {
	

	private Activity activity;

	public SessionsButtonCommand(Activity activity) {
		this.activity = activity;
	}

	@Override
	public void buttonClicked() {
		 activity.startActivity(new Intent(activity, SessionsActivity.class));

	}

	@Override
	public int getButtonResId() {
		return R.id.button_menu_sessions;
	}

}
